<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/page/common/public.jspf"%>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册激活</title>
<script src="${path }/js/common/jquery-1.4.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<script src="${path }/js/member/register.js?v=${v}"></script>
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
</head>
<body bgcolor="#f9f9f9">
	<input type="hidden" name="userid" id="userid" value="${user.id}"/>
	<input type="hidden" name="mobile" id="mobile" value="${user.mobile}"/>


         <!-- head -->
		<c:import url="../include/top.jsp"></c:import>
    	<!--主体-->

<div class="youarehere">
	<div class="localtion"><a href="${path }/">首页</a> > 帐户激活 </div>
</div>
        <div class="pageCenter registeredBox" style="margin-top: 0;">
        	<div class="activationBox">
            	
            	<div class="activationOne">
                	<div class="float_l s_20 green">尊敬的${user.userName}，感谢您PPP金融服务网，请完成帐户激活！</div>
                  
                        <input type="button" id="resendEmailActiveCode" class="bt_ty" value="重新发送验证码" />
                  
                	<div class="clear_both"></div>
                </div>
            	<div class="activationTwo" style="margin: 20px;">
            		<div class="activationTwo_left float_l"></div>
                	<div class="activationTwo_right float_l">
                    	<ul>
                        	<li>融资平台已向您的注册邮箱
                        	<span style="font-size: 18px;color: blue;">${user.email}</span>
                        	发送了一封验证激活邮件，为了您的帐号安全，请对帐户进行激活验证！</li>
							<li>您可以通过以下两种方式完成激活验证：</li> 
                            <li>1：直接点击邮件中的链接，完成帐号激活。</li>
                            <li>2：在下方输入邮件中的验证码，完成帐号激活。</li>
                    	</ul>
                        <div class="activationTwo_input">
                        	<input type="text" id="confirmcode" class="codeText" value="输入激活码" 
                        		onfocus="if (value =='输入激活码'){value =''};this.style.color='black';"
                        		onblur="if (value ==''){value='输入激活码'};this.style.color='gray';"/>
                        	
                        	<input type="button" class="codeBtn"  id="btn_confirmEmailcode" onclick="confirmEmailcode()"/>
                        </div>
                    </div>
                    <div class="clear_both"></div>
                </div>
                <div class="activationThree" style="margin: 20px;">
                	<ul>
                    	<li>收不到邮件？</li>
                        <li>可能您的激活邮件还在发送过程中，如果您在5分钟后还没有收到邮件，您可以通过以下几步来重新获取激活邮件：</li>
                        <li>1. 检查邮箱的垃圾邮件目录，并将PPP金融服务网*******加入白名单。</li>
                        <li>2. 如您还有问题无法解决请拨打客服热线*********，我们的工作人员会帮您解决相关问题。</li>
                    </ul>
                </div>
            </div>
        </div>
    	<!--主体-->
    	
    	<!--foot-->
        <c:import url="../include/foot.jsp"></c:import>
       <!--foot-->   
<script type="text/javascript">
	function confirmEmailcode () {//email_checkcode
		var userid = $("#userid").val();
		var confirmcode = $("#confirmcode").val();
		if (confirmcode == null || confirmcode == "") {
			alert("请输入激活码");
			return;
		}
		window.location.href = "<%=request.getContextPath()%>/doActive.htm?userid="+userid+"&email_checkcode="+confirmcode+"";
	}
</script>
</body>
</html>